package be.telio.freeagent.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

@XmlRootElement(name = "expense")
public class FAExpense
{
    @XmlElement(name = "id")
    private Integer id;
    @XmlElement(name = "userId")
    private Integer userId;
    @XmlElement(name = "dated-on")
    private Date datedOn;
    @XmlElement(name = "description")
    private String description;
    @XmlElement(name = "engine-size-index")
    private Integer engineSizeIndex;
    @XmlElement(name = "engine-type-index")
    private Integer engineTypeIndex;
    @XmlElement(name = "expense-type")
    private String expenseType;
    @XmlElement(name = "gross-value")
    private Double grossValue;
    @XmlElement(name = "have-vat-receipt")
    private Boolean haveVatReceipt;
    @XmlElement(name = "initial-rate-mileage")
    private Integer initialRateMileage;
    @XmlElement(name = "mileage")
    private Integer mileage;
    @XmlElement(name = "project-id")
    private Integer projectId;
    @XmlElement(name = "rebill-type")
    private String rebillType;
    @XmlElement(name = "rebill-factor")
    private String rebillFactor;
    @XmlElement(name = "rebill-mileage-rate")
    private Double rebillMileageRate;
    @XmlElement(name = "rebilled-on-invoice-item-id")
    private Integer rebilledOnInvoiceItemId;
    @XmlElement(name = "receipt-reference")
    private String receiptReference;
    @XmlElement(name = "reclaim-mileage-rate")
    private Double reclaimMileageRate;
    @XmlElement(name = "recurring")
    private String recurring;
    @XmlElement(name = "recurring-end-date")
    private Date recurringEndDate;
    @XmlElement(name = "sales-tax-rate")
    private Double salesTaxRate;
    @XmlElement(name = "vehicule-type")
    private String vehiculeType;


    public Integer getId()
    {
        return id;
    }

    public Integer getUserId()
    {
        return userId;
    }

    public Date getDatedOn()
    {
        return datedOn;
    }

    public String getDescription()
    {
        return description;
    }

    public Integer getEngineSizeIndex()
    {
        return engineSizeIndex;
    }

    public Integer getEngineTypeIndex()
    {
        return engineTypeIndex;
    }

    public String getExpenseType()
    {
        return expenseType;
    }

    public Double getGrossValue()
    {
        return grossValue;
    }

    public Boolean getHaveVatReceipt()
    {
        return haveVatReceipt;
    }

    public Integer getInitialRateMileage()
    {
        return initialRateMileage;
    }

    public Integer getMileage()
    {
        return mileage;
    }

    public Integer getProjectId()
    {
        return projectId;
    }

    public String getRebillType()
    {
        return rebillType;
    }

    public String getRebillFactor()
    {
        return rebillFactor;
    }

    public Double getRebillMileageRate()
    {
        return rebillMileageRate;
    }

    public Integer getRebilledOnInvoiceItemId()
    {
        return rebilledOnInvoiceItemId;
    }

    public String getReceiptReference()
    {
        return receiptReference;
    }

    public Double getReclaimMileageRate()
    {
        return reclaimMileageRate;
    }

    public String getRecurring()
    {
        return recurring;
    }

    public Date getRecurringEndDate()
    {
        return recurringEndDate;
    }

    public Double getSalesTaxRate()
    {
        return salesTaxRate;
    }

    public String getVehiculeType()
    {
        return vehiculeType;
    }
}
